package com.wqiuqiu.common.to.login;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class AccountTo {
    @NotBlank(message = "请输入帐号")
    private String username; //可以是邮箱、用户名、手机号

    @NotBlank(message = "请输入密码")
    private String password;
}
